<?php
require_once( __DIR__ . '/inc/common.php' );

$templates = new League\Plates\Engine( 'themes/' . $config['theme'] );

$trending = new \Vioscope\Trending();
echo $templates->render( 'trending', array(
	'entries' => $trending->fetch_data(),
	'config' => $config,
	'info' => array(
		'title' => 'Trending',
	),
) );
